package com.qf.cm.service.impl;

import com.qf.cm.dao.SubitemDao;
import com.qf.cm.pojo.Subitem;
import com.qf.cm.service.SubitemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Description: 公用常量
 * @Data: 2022/9/7 21:13
 * @Pacakge: com.qf.cm.service.impl
 * @ClassName: SubitemServiceImpl
 * @Author: fan
 */
@Service
public class SubitemServiceImpl implements SubitemService {
    @Autowired
    private SubitemDao subitemDao;
    @Override
    public Subitem findSubitemBySname(String sname) {
        return subitemDao.findSubitemBySname(sname);
    }

    @Override
    public Subitem findSubitemBySid(String suid) {
        return subitemDao.findSubitemBySid(suid);
    }
}
